package com.ctshk.rpc.tour.entity.es;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;

/**
 * @author lys
 * @date 2021/05/24
 */

@Data
@ApiModel(value="TourThemeJsonCache对象", description="旅行团主题缓存对象")
public class TourThemeJsonCache implements Serializable {

    @ApiModelProperty(value = "主数据id")
    @Field(type = FieldType.Long)
    private Long id;

    @ApiModelProperty(value = "主数据名称")
    @Field(type = FieldType.Keyword)
    private String name;
}
